<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>shoptradingly</title>
    <link rel="stylesheet" href="./src/idangerous.swiper.css">
    <style>
        html {
            scroll-behavior: smooth;
        }

        body,
        html,
        div,
        p {
            padding: 0;
            margin: 0;
        }

        .content {
            width: 1280px;
            margin: 0 auto;
        }

        .content>div {
            width: 100%;
            height: auto;
            position: relative;
        }

        .content img {
            width: 100%;
            height: auto;
            display: block;
        }

        .tab-p {
            position: absolute;
            height: 50px;
            width: 50px;
            /* background-color: red; */
            z-index: 1;
            opacity: 0;
            cursor: pointer;
        }

        .tab-a1 {
            top: 20px;
            left: 450px;
            width: 70px;
        }

        .tab-a2 {
            top: 20px;
            width: 141px;
            left: 535px;
        }

        .tab-a3 {
            top: 20px;
            width: 96px;
            left: 697px;
        }

        .tab-a4 {
            top: 20px;
            width: 70px;
            left: 818px;
        }

        .tab-a5 {
            top: 20px;
            width: 100px;
            left: 910px;
        }

        .tab-btn1 {
            top: 20px;
            width: 135px;
            left: 1045px;
        }

        .tab-btn2 {
            top: 362px;
            left: 100px;
            width: 200px;
        }

        .tab-btn3 {
            top: 362px;
            left: 305px;
            width: 200px;
        }

        .tab-btn4 {
            top: 298px;
            left: 608px;
            width: 270px;
        }

        .tab-btn5 {
            top: 298px;
            left: 890px;
            width: 270px;
        }

        .tab-btn6 {
            top: 51px;
            left: 533px;
            width: 219px;
        }

        .tab-btn7 {
            bottom: 12px;
            right: 157px;
            width: 205px;
        }

        .back-top {
            position: fixed;
            right: calc(50% - 640px);
            bottom: 20px;
            z-index: 2;
            cursor: pointer;
            display: none;
        }

        .back-top img {
            width: 40px;
            height: 40px;
        }

        .swiper-container {
            width: 100%;
            height: 380px;
            color: #fff;
            text-align: center;
        }

        .swiper-slide .title {
            font-style: italic;
            font-size: 42px;
            margin-top: 80px;
            margin-bottom: 0;
            line-height: 45px;
        }

        .swiper-slide p {
            font-style: italic;
            font-size: 25px;
        }

        .pagination {
            position: absolute;
            z-index: 20;
            left: 10px;
            bottom: 10px;
        }

        .swiper-pagination-switch {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 8px;
            background: #555;
            margin-right: 5px;
            opacity: 0.8;
            border: 1px solid #fff;
            cursor: pointer;
        }

        .swiper-active-switch {
            background: #fff;
        }

        .swiper-dynamic-links {
            text-align: center;
        }

        .swiper-dynamic-links a {
            display: inline-block;
            padding: 5px;
            border-radius: 3px;
            border: 1px solid #ccc;
            margin: 5px;
            font-size: 12px;
            text-decoration: none;
            color: #333;
            background: #eee;
        }

        .appimg {
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding-bottom: 50px;
            padding-left: 10%;
            padding-right: 10%;
            background-color: #FFF8EF;
            box-sizing: border-box;
        }

        .appimg img {
            width: 24%;
            height: auto;
        }
        .content-mobile {
            display: none;
        }
        /* 移动端样式自适应 */
        @media screen and (max-width: 600px) {
            body{
                width: 100%;
                height: 100%;
            }
            .content {
                display: none;
            }
            .back-top {
                right: 10px;
                bottom: 10px;
            }
            .content-mobile {
                display: block;
                width: 100%;
                height: 100%;
                overflow-x: hidden;
                overflow-y: scroll;
                box-sizing: border-box;
            }
            .content-mobile img {
                width: 100%;
                vertical-align:top;
                height: auto;
            }
            .content-mobile div.rel {
                position: relative;
            }

            .back-top img {
                width: 40px;
                height: 40px;
            }
            .swiper-container2 {
                width: 100%;
                height: 130px;
                color: #fff;
                text-align: center;
            }
            .swiper-container3 {
                width: 100%;
                height: 520px;
                color: #fff;
                text-align: center;
            }
            .swiper2-box {
                background-color: #FFF8EE;
            }
            .swiper3-box {
                padding: 0 60px;
                background-color: #FFF8EE;
            }
            .mobile-menu {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                z-index: 2;
                height: 65px;
                background: #FF8F0C; 
                transition: all 0.2s;
                overflow: hidden;
            }
            .mobile-menu img {
                height: 65px;
                width: auto;
            }
            #btab1 {
                padding-top: 65px;
            }
            #mobile-menuicon {
                position: absolute;
                right: 10px;
                top: 13px;
                width: 35px;
                height: auto;
            }
            #mobile-menulist {
                height: 255px;
            }
            #mobile-menulist>a {
                display: block;
                height: 40px;
                line-height: 40px;
                color: #fff;
                font-size: 18px;
                padding-left: 30px;
                border-top: 1px solid #fff;
                text-decoration: none;
            }
            #btab1 {
                min-height: 200px;
            }
            #btab2,#btab21 {
                min-height: 400px;
            }
            #loading {
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                z-index: 2;
            }
            .tab-btn5 {
                top: unset;
                left: unset;
                right: 5px;
                bottom: 18px;
                /* background-color: red; */
                opacity: 0;
                width: 50%;
                height: 40px;
            }
            .btab-btn5 {
                width: 70%;
                top: unset;
                left: 10px;
                right: unset;
                bottom: 20px;
            }
            .bbtab-btn5 {
                width: 100%;
                height: 70px;
                top: 15px;
                left: 0;
                right: unset;
                bottom: unset;
            }
            .btab-btn7 {
                width: 60%;
                top: unset;
                left: unset;
                right: 20%;
                bottom: 10px;
            }
        }
    </style>
</head>

<body>
    <div class="content">
        <a id="backTop" href="#tab1" class="back-top">
            <img src="./img/top2.png?v=1.0.4" alt="">
        </a>
        <div id="tab1">
            <a href="#tab1" class="tab-p tab-a1">1</a>
            <a href="#tab2" class="tab-p tab-a2">2</a>
            <a href="#tab2" class="tab-p tab-a3">3</a>
            <a href="#tab3" class="tab-p tab-a4">4</a>
            <a href="#tab8" class="tab-p tab-a5">5</a>
            <a class="tab-p tab-btn1" href="https://www.lulemeapp.com">1</a>
            <a class="tab-p tab-btn2" href="https://www.lulemeapp.com/login?lang=en">2</a>
            <a class="tab-p tab-btn3" href="https://www.lulemeapp.com/login?lang=en">3</a>
            <img src="./img/en1.png?v=1.0.4" alt="">
        </div>
        <div id="tab2"><img src="./img/en2.png?v=1.0.4" alt=""></div>
        <div id="tab3">
            <img src="./img/en3.png?v=1.0.4" alt="">
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="./img/en-b1.png?v=1.0.4" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="./img/en-b2.png?v=1.0.4" alt="">
                    </div>
                </div>
                <div class="pagination"></div>
            </div>
        </div>
        <div id="tab4">
            <img src="./img/en4.png?v=1.0.4" alt="">
            <div class="appimg">
                <img src="./img/en-app1.png?v=1.0.4" alt="">
                <img src="./img/en-app2.png?v=1.0.4" alt="">
                <img src="./img/en-app3.png?v=1.0.4" alt="">
                <img src="./img/en-app4.png?v=1.0.4" alt="">
            </div>
        </div>
        <div id="tab5"><img src="./img/en5.png?v=1.0.4" alt=""></div>
        <div id="tab6" style="display: none;"><img src="./img/en6.png?v=1.0.4" alt=""></div>
        <div id="tab7">
            <a class="tab-p tab-btn4" href="https://www.lulemeapp.com/login?lang=en">4</a>
            <btn class="tab-p tab-btn5">5</btn>
            <img src="./img/en7.png?v=1.0.4" alt="">
        </div>
        <div id="tab8">
            <a class="tab-p tab-btn6" href="https://www.lulemeapp.com/login?lang=en">6</a>
            <a class="tab-p tab-btn7" target="_blank" href="https://beian.miit.gov.cn/#/Integrated/index">7</a>
            <img src="./img/en8.png?v=1.0.4" alt="">
        </div>
    </div>
    <div class="content-mobile">
        <a id="backTopm" href="#btab1" class="back-top">
            <img src="./img/top2.png?v=1.0.4" alt="">
        </a>
        <div id="loading">
            <img src="./img/loading.gif" alt="">
        </div>
        <div class="mobile-menu">
            <img src="./img/en1-1.png?v=1.0.4" alt="">
            <img id="mobile-menuicon" src="./img/menu.png?v=1.0.4" alt="">
            <div id="mobile-menulist">
                <a href="#btab1">INTRO</a>
                <a onclick="moveTo('#btab2')">WHAT'S LULEME</a>
                <a onclick="moveTo('#btab21')">FEATURES</a>
                <a onclick="moveTo('#btab3')">WHY US</a>
                <a href="#btab8">CONTACTS</a>
                <a href="https://www.lulemeapp.com">CHINESE</a>
            </div>
        </div>
        <div id="btab1" class="rel">
            <btn class="tab-p tab-btn5 btab-btn5">5</btn>
            <img src="./img/en1-2.png?v=1.0.4" alt="">
        </div>
        <div>
            <img src="./img/en1-3.png?v=1.0.4" alt="">
        </div>
        <div id="btab2">
            <img src="./img/en2-1.png?v=1.0.4" alt="">
        </div>
        <div id="btab21">
            <img src="./img/en2-2.png?v=1.0.4" alt="">
            <img src="./img/en2-3.png?v=1.0.4" alt="">
        </div>
        <div id="btab3">
            <img src="./img/en3-1.png?v=1.0.4" alt="">
        </div>
        <div class="swiper2-box">
            <div class="swiper-container swiper-container2">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="./img/en-b1.png?v=1.0.4" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="./img/en-b2.png?v=1.0.4" alt="">
                    </div>
                </div>
                <div class="pagination pagination2"></div>
            </div>
        </div>
        <img src="./img/en4-1.png?v=1.0.4" alt="">
        <div class="swiper3-box">
            <div class="swiper-container swiper-container3">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img id="imgonload" src="./img/en-app1.png?v=1.0.4" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="./img/en-app2.png?v=1.0.4" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="./img/en-app3.png?v=1.0.4" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="./img/en-app4.png?v=1.0.4" alt="">
                    </div>
                </div>
                <div class="pagination pagination3"></div>
            </div>
        </div>
        <img src="./img/en5-1.png?v=1.0.4" alt="">
        <img src="./img/en5-2.png?v=1.0.4" alt="">
        <!-- <img src="./img/en6-1.png?v=1.0.4" alt="">
        <img src="./img/en6-2.png?v=1.0.4" alt="">
        <img src="./img/en6-3.png?v=1.0.4" alt=""> -->
        <div class="rel">
            <btn class="tab-p tab-btn5">5</btn>
            <img src="./img/en7-1.png?v=1.0.4" alt="">
            <img src="./img/en7-2.png?v=1.0.4" alt="">
        </div>
        <div id="btab8" class="rel">
            <img src="./img/en8-3.png?v=1.0.4" alt="">
            <div class="rel">
                <btn class="tab-p tab-btn5 bbtab-btn5">5</btn>
                <img src="./img/en8-1.png?v=1.0.4" alt="">
            </div>
            <img src="./img/en8-2.png?v=1.0.4" alt="">
            <a class="tab-p tab-btn7 btab-btn7" target="_blank" href="https://beian.miit.gov.cn/#/Integrated/index">7</a>
        </div>
    </div>
    <script src="./src/jquery-1.10.1.min.js"></script>
    <script src="./src/idangerous.swiper.min.js"></script>
    <script>
        var mySwiper = new Swiper('.swiper-container', {
            pagination: '.pagination',
            autoplay: 3000, //可选选项，自动滑动
            autoplayDisableOnInteraction : false,
            loop: true, //可选选项，开启循环
            paginationClickable: true
        })
        var mySwiper = new Swiper('.swiper-container2', {
            pagination: '.pagination2',
            autoplay: 3000, //可选选项，自动滑动
            autoplayDisableOnInteraction : false,
            loop: true, //可选选项，开启循环
            paginationClickable: true
        })
        var mySwiper = new Swiper('.swiper-container3', {
            pagination: '.pagination3',
            autoplay: 3000, //可选选项，自动滑动
            autoplayDisableOnInteraction : false,
            loop: true, //可选选项，开启循环
            paginationClickable: true
        })
        const times = localStorage.getItem("loadingok") ? 800 : 2000;
        setTimeout(() => {
            $("#loading").hide();
            localStorage.setItem("loadingok", 1);
        }, times);
        window.onload = function () {
            let tabIndex = window.location.hash.slice(-1)
            if (+tabIndex > 1) {
                clickA(true);
            }
            $(".tab-btn5").click(function(){
                const downloadUrl = "https://api.lulemeapp.com/v1/api/download/android";
                const link = document.createElement("a");
	            link.style.display = "none";
                link.href = downloadUrl;
                link.download = "luleme" //下载的文件名
                document.body.appendChild(link);
                link.click();
                document.body.removeChild(link);
            });
        }
        $(window).scroll(function() {
            var scrollTop = $(window).scrollTop();
            if (scrollTop > 50 && document.getElementById('backTop').style.display != 'block') {
                // console.log('clickA(true);');
                clickA(true);
            }
            if (scrollTop <= 50 && document.getElementById('backTop').style.display == 'block') {
                // console.log('clickA(false);');
                clickA(false);
            }
            if (scrollTop > 50 && document.getElementById('backTopm').style.display != 'block') {
                // console.log('clickA(true);');
                clickA(true);
            }
            if (scrollTop <= 50 && document.getElementById('backTopm').style.display == 'block') {
                // console.log('clickA(false);');
                clickA(false);
            }
        });

        function clickA(show) {
            if (show) {
                document.getElementById('backTop').style.display = 'block';
            } else {
                document.getElementById('backTop').style.display = 'none';
            }
            if (show) {
                document.getElementById('backTopm').style.display = 'block';
            } else {
                document.getElementById('backTopm').style.display = 'none';
            }
        }
        $("#mobile-menuicon").click(function () {
            if ($(".mobile-menu").css('height') == '65px') {
                $(".mobile-menu").css('height', '320px')
            } else {
                $(".mobile-menu").css('height', '65px')
            }
        })
        $("#mobile-menulist").click(function () {
            if ($(".mobile-menu").css('height') == '65px') {
                $(".mobile-menu").css('height', '320px')
            } else {
                $(".mobile-menu").css('height', '65px')
            }
        })
        function moveTo(id) {
            $(window).scrollTop($(id).offset().top - 65);
            if ($(".mobile-menu").css('height') == '65px') {
                $(".mobile-menu").css('height', '320px')
            } else {
                $(".mobile-menu").css('height', '65px')
            }
        }
        $("#imgonload").load(function () {
            $('.swiper-container3').height($(this).height() + 40);
        })
    </script>
</body>

</html>